package com.itheima;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

//@Slf4j是lombok中提供的注解, 用来通过slf4j记录日志。
@Slf4j
@SpringBootApplication
//开启Servlet组件扫描
@ServletComponentScan
//@EnableCaching:开启SpringCache缓存注解功能
@EnableCaching
public class RjwmDemo1Application {

    public static void main(String[] args) {
        SpringApplication.run(RjwmDemo1Application.class, args);
        log.info("项目启动成功...");
    }

}
